/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-06 07:52:07
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-24 10:53:38
 */
import 'package:flutter/material.dart';

import 'notice_item.dart';

class NoticeList extends StatelessWidget {
  const NoticeList({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) => Container(
        margin: EdgeInsets.symmetric(vertical: 10, horizontal: 12),
        padding: EdgeInsets.all(8),
        decoration: BoxDecoration(
          color: Color(0xffe6e4d6),
          borderRadius: BorderRadius.circular(16),
        ),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            NoticeItem(
              time: "9:30 PM",
              content: "[Flutter] Dreamwalker Live talking show",
            ),
            SizedBox(height: 5),
            NoticeItem(
              time: "9:30 PM",
              content: "[Flutter] Dreamwalker Live talking show",
            ),
            SizedBox(height: 5),
            NoticeItem(
              time: "9:30 PM",
              content: "[Flutter] Dreamwalker Live talking show",
            ),
          ],
        ),
      );
}
